package com.qing.eduservice.client;

import com.qing.emailservice.entity.pojo.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName Yjx
 * @Description TODO
 * @date 2022/9/18 23:55
 * @Version 1.0
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据token字符串获取用户信息
    @PostMapping("/getInfoUc/{id}")
    public UcenterMember getInfo(@PathVariable String id);
}
